package com.hongyue.dey01;

import java.util.Arrays;

public class Demo {
    public static void main(String[] args) {
        String a = "43 25 64 43 23";
        String[] d = a.split(" ");
        int[] c = new int[d.length];
        for (int i = 0; i < d.length; i++) {
            c[i] = Integer.parseInt(d[i]);
        }
        System.out.println(Arrays.toString(c));
    }
}
